package com.yk.airline.service.capturemark.impl;

import com.yk.airline.dao.capturemark.api.ICaptureMarkDao;
import com.yk.airline.model.AnalysisDataModel;
import com.yk.airline.model.CaptureMarkModel;
import com.yk.airline.service.capturemark.api.ICaptureMarkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Project Name:airlinecrawler
 * File Name:CaptureMarkServiceImpl
 * Package Name:com.yk.airline.service.capturemark.impl
 * Date:2018/1/31 17:46
 * Author:dengtianjia
 * Description:
 * Copyright (c) 2018, 重庆云凯科技有限公司 All Rights Reserved.
 */
@Service("captureMarkService")
public class CaptureMarkServiceImpl implements ICaptureMarkService {

    @Resource(name = "captureMarkDao")
    private ICaptureMarkDao captureMarkDao;

    @Override
    public List<CaptureMarkModel> findAll() {
        return this.captureMarkDao.findAll();
    }

    @Override
    public int findTotalCount() {
        return this.captureMarkDao.findTotalCount();
    }
}
